package com.mayikt;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

// docker run -d --net mynet -p 9090:9090 --name weixin fary/mt-shop-service-weixin
@SpringBootApplication
@EnableSwagger2Doc
@EnableSwaggerBootstrapUI
@MapperScan("com.mayikt.weixin.impl.mapper")
public class AppWeiXin {
    public static void main(String[] args) {
        SpringApplication.run(AppWeiXin.class);

        //@EnableSwagger2 原生启动方式注解
    }
}
